package elements;

import java.util.ArrayList;

import server.Connector;
import dataPO.TeachFrameItemPO;

public class TeachFrame {
    
    private ArrayList<TeachFrameItemPO> items;

    public TeachFrame() {
        this.refresh();
    }
    
    public void refresh() {
        TeachFrameItemPO[] info = (TeachFrameItemPO[]) Connector.getTeachFrame().getItemList();
        this.items = new ArrayList<TeachFrameItemPO>(info.length);
        
        for(int i = 0; i < info.length; i++) {
            items.add(info[i]);
        }
    }
    
}
